package 设计模式.行为模式._21策略模式;

public class Minus extends AbstractCalculator implements ICalculator {
	 
	@Override
	public int calculate(String exp) {
		int arrayInt[] = split(exp,"-");
		return arrayInt[0]-arrayInt[1];
	}
 
}

